home *** CD-ROM | disk | FTP | other *** search
- {$F+,R-,S-}
- unit ecimport;
-
- interface
-
- uses ezyconst;
-
-
-
- function EditUser(var User;var UserExt;UserNum, NumUsers : Longint;EzyEdMode : Boolean;
- var LastField1, LastField2 : Word;
- var Page : Byte;
- SecurityLevel : Word) : Word;
-
- function PickUser(var hUser : File;var UserNum : word;EzyEdMode : boolean;Search : String) : word;
-
-
- implementation
-
- function EditUser(var User;var UserExt;UserNum, NumUsers : Longint;EzyEdMode : Boolean;
- var LastField1, LastField2 : Word;
- var Page : Byte;
- SecurityLevel : Word) : Word;
- external 'ECEZYED' index 1;
- (* Edit a User
-
- User Address of Users Record
- UserExt Address of Users Extra Record
- UserNum Number of the User being Edited
- Numusers Total Number of Users
- EzyEdMode Whether EzyEd is calling this (normally FALSE)
- LastField1 Last Field Position for Page 1 (initialize to 0)
- LastField2 Last Field Position for Page 2 (initialize to 0)
- SecurityLevel Security Level of User Editing the Record (Set 0 for unlimited access)
-
- Return Results
-
- EzyEdOk User Editing OK and should be saved
- EzyEdAbort User Editing Aborted, and should NOT be saved
- EzyEdError Error during Editing
-
- *)
-
- function PickUser(var hUser : File;var UserNum : word;EzyEdMode : boolean;Search : String) : word;
- external 'ECEZYED' index 2;
-
- end.
-